package com.zhanghe.study.java8.dll;

import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.IntByReference;

public interface DetTclineLibrary extends Library {


    // 加载DLL
    DetTclineLibrary INSTANCE = Native.load("det_tcline", DetTclineLibrary.class);

    // 映射C++方法
    int CreateDetector();

    int DetTCLine(int detid, Pointer in_jpg, IntByReference tclineInfosSize, Pointer tclineInfos, IntByReference outJpgSize, Pointer outJpg);

    int ReleaseDetector(int detid);
}